home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / misc / gms_dev.lha / GMSDev / Includes / clib / screens_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-23  |  1.8 KB  |  56 lines

  1. #ifndef  CLIB_SCREENS_PROTOS_H
  2. #define  CLIB_SCREENS_PROTOS_H
  3.  
  4. /*
  5. **   $VER: screens_protos.h V1.0
  6. **
  7. **   C prototypes.
  8. **
  9. **   (C) Copyright 1996-1998 DreamWorld Productions.
  10. **       All Rights Reserved.
  11. */
  12.  
  13. #ifndef  SYSTEM_TYPES_H
  14. #include <system/types.h>
  15. #endif
  16.  
  17. APTR AllocVideoMem(LONG Size, LONG Flags);
  18. void AutoSwitch(void);
  19. void BlankOn(void);
  20. void BlankOff(void);
  21. void FreeVideoMem(APTR MemBlock);
  22. void ReadySwitch(struct GScreen *);
  23. void RefreshScreen(struct GScreen *);
  24. struct GScreen * ReturnDisplay(void);
  25. void SetBmpOffsets(struct GScreen *, WORD BmpXOffset, WORD BmpYOffset);
  26. void SetScrDimensions(struct GScreen *, WORD Width, WORD Height);
  27. void SetScrOffsets(struct GScreen *, WORD ScrXOffset, WORD ScrYOffset);
  28. void SwapBuffers(struct GScreen *);
  29. LONG TakeDisplay(struct GScreen *);
  30. void UpdateColour(struct GScreen *, LONG Colour, LONG Value);
  31. LONG WaitVBL(void);
  32. LONG WaitAVBL(void);
  33. LONG WaitRastLine(struct GScreen *, WORD LinePosition);
  34. LONG WaitSwitch(struct GScreen *);
  35.  
  36. /* Palette functions */
  37.  
  38. void UpdatePalette(struct GScreen *);
  39. void ChangeColours(struct GScreen *, LONG *Colours, WORD StartColour, WORD AmtColours);
  40. WORD ColourMorph(struct GScreen *, WORD FadeState, WORD Speed,
  41.        LONG StartColour, LONG AmtColours, LONG SrcColour, LONG DestColour);
  42. WORD ColourToPalette(struct GScreen *, WORD FadeState, WORD Speed,
  43.        LONG StartColour, LONG AmtColours, APTR Palette, LONG RRGGBB);
  44. WORD PaletteMorph(struct GScreen *, WORD FadeState, WORD Speed,
  45.        LONG StartColour, LONG AmtColours, APTR SrcPalette, APTR DestPalette);
  46. WORD PaletteToColour(struct GScreen *, WORD FadeState, WORD Speed,
  47.        LONG StartColour, LONG AmtColours, APTR Palette, LONG RRGGBB);
  48. void BlankColours(struct GScreen *);
  49.  
  50. void prvMoveBitmap(struct GScreen *);
  51. void prvRemakeScreen(struct GScreen *);
  52. void prvSwitchScreen(void);
  53.  
  54. #endif /* CLIB_SCREENS_PROTOS_H */
  55.  
  56.